﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Rodunu.Movies.SearchEngine;

namespace Rodunu.Test.SearchEngine
{
    [TestFixture]
    public class CreateIndex
    {

        [Test]
        public void Create()
        {
            IndexFactory indexFactory = new IndexFactory();
            indexFactory.CreateIndex();
        }
    }

    [TestFixture]
    public class SearchIndex
    {
        [Test]
        public void Search()
        {
            IndexSearcher indexSearcher = new IndexSearcher();
            IList<string> movies = indexSearcher.Search("+lost +season 1");
        }
    }
}
